package com.bill99.codecheck.sonar.orm.dao.impl;

import com.bill99.codecheck.sonar.orm.dao.QampSonarlogDataDao;
import com.bill99.codecheck.sonar.orm.entity.SonarLogItem;
import com.bill99.riaframework.common.dto.DataStatisticsDto;
import com.bill99.seashell.orm.ibatis.QueryDaoSupport;

public class QampSonarlogDataDaoImpl extends QueryDaoSupport implements QampSonarlogDataDao {

	@Override
	public void saveSonarLog(SonarLogItem logItem) {
			getSqlMapClientTemplate().insert("qampsonarlog.savesonarlog", logItem);
	}

	@Override
	public void svaeSonarResultCount(DataStatisticsDto dataStatisticsDto) {
		getSqlMapClientTemplate().insert("qampsonarlog.savesonarresult", dataStatisticsDto);

	}

}
